x86/IST: Create set_ist() helper function
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Dec 2012 16:49:19 +0000 (17:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Dec 2012 16:49:19 +0000 (17:49 +0100)
commit74fa570daea059d84d8533997f79af6544f1124a
treed49f7eaf7f84aafd37770df217d5b51c0a53b273
parente2d0f7d8c8b6989488897aa0b01305a43a6eefe7
x86/IST: Create set_ist() helper function

... to save using open-coded bitwise operations, and update all IST
manipulation sites to use the function.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/processor.h